import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Test',
      component: () => import('@/components/Test')
    },
    {
      path: '/adman',
      name: 'Adman',
      component: () => import('@/page/Adman'),
      children : [
        {
          path : '/home',
          name : 'Home',
          component: () => import('@/page/Home')
        },
        {
          path : '/kami',
          name : 'Kami',
          component: () => import('@/page/Kami')
        }
      ]
    }
  ]
})
